import request from "@/utils/request";

// GET/cashReceipts/listStationMerAccInfo查询油站账户信息
export function listStationMerAccInfo() {
  return request({
    url: "/cashReceipts/listStationMerAccInfo",
    method: "get",
  });
}

// POST/cashReceipts/queryBalance查询商户账户余额
export function queryBalance(query) {
  return request({
    url: "/cashReceipts/queryBalance",
    method: "post",
    params: query,
  });
}

// POST/cashReceipts/getServiceFee取服务费
export function getServiceFee(query) {
  return request({
    url: "/cashReceipts/getServiceFee",
    method: "post",
    params: query,
  });
}

// POST/cashReceipts/cash提现 S成功 T进行中 需用订单查询接口查询结果 E失败
export function cash(query) {
  return request({
    url: "/cashReceipts/cash",
    method: "post",
    params: query,
  });
}


// 对接云化  查询账户入账总额
export function searchAmt(data) {
  return request({
    url: '/cashReceipts/getEntrySum',
    method: 'post',
    data
  })
}
